import App from './App';

import { createPinia } from 'pinia';
const pinia = createPinia();


import { createSSRApp } from 'vue';
export function createApp() {
  const app = createSSRApp(App);
  app.use(pinia);
  return {
    app,
  };
}

import '@mqtt';

// console.log('main');

// #ifdef H5
// import VConsole from 'vconsole';
// if (process.env.NODE_ENV === 'development') {
//   new VConsole();
// }
// #endif
